class inary:
    class source:
        name = "busybox"
        homepage = "https://gitlab.com/sulinos/devel/inary"

        class packager:
            name = "Ali Riza KESKIN"
            email = "parduscix@yandex.ru"
        license = "GPLv3"
        isa = ["app:console"]
        summary = "Utilities for rescue and embedded systems"
        description = "Single binary utility for embeded system"
        archive = [("68c63ab87768e9f0c16ffec79935e488ecf2fe58","https://busybox.net/downloads/busybox-1.34.0.tar.bz2"),
          ]
        builddependencies = []
        additionalfiles = [(".config","config"),
                           ("default.script","udhcpd.script")]
        packages = ["package"]

    class package:
        name = "busybox"
        isa = ["postOps"]
        runtimedependencies = []
        additionalfiles = [
                       ("klogd.initd","root","0755","/etc/init.d/busybox-klogd"),
                       ("klogd.confd","root","0755","/etc/conf.d/busybox-klogd"),
                       ("syslogd.initd","root","0755","/etc/init.d/busybox-syslogd"),
                       ("syslogd.confd","root","0755","/etc/conf.d/busybox-syslogd"),
                       ("ntpd.initd","root","0755","/etc/init.d/busybox-ntpd"),
                       ("ntpd.confd","root","0755","/etc/conf.d/busybox-ntpd"),
                       ("mdev.initd","root","0755","/etc/init.d/busybox-mdev"),
                       ("watchdog.initd","root","0755","/etc/init.d/busybox-watchdog"),
                       ("watchdog.confd","root","0755","/etc/conf.d/busybox-watchdog")]

        files = [("config", "/etc"),
                 ("localedata", "/usr/share/locale"),
                 ("info", "/usr/share/info"),
                 ("data", "/usr/share"),
                 ("executable", "/usr/bin"),
                 ("library", "/usr/lib"),
                 ("library", "/lib"),
                 ("library", "/usr/libexec"),
                 ("executable", "/bin")]

    class history:
        update = [
            ["2021-08-28", "1.34.0", "First release",
                "Ali Riza KESKIN", "parduscix@yandex.ru"],
        ]
